feat: improve Fish shell configuration with enhanced alias and clear …#1815
Open
ShinniUwU wants to merge 1 commit intoprasanthrangan:mainfrom
Open
feat: improve Fish shell configuration with enhanced alias and clear …#1815ShinniUwU wants to merge 1 commit intoprasanthrangan:mainfrom
ShinniUwU wants to merge 1 commit intoprasanthrangan:mainfrom
Conversation
kRHYME7
reviewed
Sep 8, 2024
| # Enhanced clear command | ||
| function clear --description 'Clear the screen and scrollback buffer' | ||
| command clear | ||
| printf '\e[3J' |
Collaborator
There was a problem hiding this comment.
Do we really need a function for clear ?
Author
There was a problem hiding this comment.
I added that function for a cleaner clear command. I believe this improves readability and maintains consistency in my setup. It's not strictly necessary, but it helps in streamlining the process and keeping the configuration tidy.
rubiin
approved these changes
Sep 15, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
This PR introduces enhancements to the Fish shell configuration by adding new features:
clearFunction: Added a function to clear the terminal screen and scrollback buffer.fastfetchto display system information upon terminal launch.Motivation and Context
These updates aim to enhance the usability of the Fish shell environment. The new
clearfunction provides a more effective way to clear the terminal as before it wasn't really clearing it you could scroll up, andfastfetchoffers useful system information anyone would probably want to put that in theirconfig.fish.Dependencies
No additional dependencies are required for these changes.
Related Issues
N/A
Type of change
Checklist
Screenshots
N/A
Additional context
N/A
Feel free to tweak any part of this description if needed!